home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / Re Remove from TMap.2 < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.1 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Remove from TMap
  2. Sent:        6/14/96 1:48 AM
  3. Received:    6/14/96 9:17 AM
  4. From:        Jim Lloyd, jim@melongem.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. At 8:01 AM 6/14/96, Steinar.Tyvand@si.sintef.no wrote:
  9. >I'm using the TMap template to create a map of FW_CString to a value. How do
  10. >I remove a pair from the mapping?
  11.  
  12. I'm (very) embarassed to admit it, but it is not currently possible to
  13. remove items from FW_TMaps.  I rolled that class together pretty quickly
  14. relatively late in our development cycle and specifically to meet our needs
  15. in archiving, which doesn't need to remove items from maps.  I did intend
  16. the class to be generally reusable, but in the hustle to get ODF R1
  17. finished I didn't notice the missing functionality.
  18.  
  19. It can be fixed in a future release, but will require adding another
  20. function to ODFLibrary, so parts using the revised maps won't work with
  21. ODFLibrary 1.0.  It's really a shame to require a new release of ODFLibrary
  22. to get this basic functionality.
  23.  
  24. Sorry for the inconvenience.
  25.  
  26. Jim Lloyd
  27.  
  28.